<template>
  <div class="home">
      我是home
      
  </div>
</template>

<script>
import axios from "axios"
export default {
    name:"home",
    data(){
        return{

        }
    },
    mounted(){
        console.log(axios)
        this.$axios.get("/goods/detail")
        .then(res=>{
            console.log(res)
        })
        // console.log("home")
        // $route  当前路由对象
        console.log(this.$route)
    }
}
</script>

<style>

</style>